package com.etop.learnapp.util;

import android.content.Context;
import android.content.res.Resources;

/**
 * Created by John on 2015/11/30.
 */
public class MyResId {
    public static int[] resIDs = new int[27];
    public static void init(Resources resources,Context context)
    {

        String fileName="";
        for(int i = 0;i<=26;i++)
        {
            fileName="ic"+i;
            resIDs[i] = resources.getIdentifier(fileName, "drawable", context.getPackageName());
        }
    }
}
